equations with inequalities